package com.crape.topic.dao;

import java.util.List;

import com.crape.common.exceptions.DAOException;
import com.crape.common.model.ArticleComment;
import com.crape.common.model.ArticleReply;

public interface IArticleCommentDAO {

	List<ArticleComment> listArticleComments(ArticleComment articleComment) throws DAOException;

	List<ArticleComment> getPagedArticleCommentsByArticleId(Long articleid, Integer startIndex, Integer pageSize) throws DAOException;

	void insertArticleComment(ArticleComment articleComment) throws DAOException;

	void updateArticleComment(ArticleComment articleComment) throws DAOException;

	void deleteArticleCommentById(Long id) throws DAOException;

	List<ArticleReply> getArticleReplys(ArticleReply ArticleReply) throws DAOException;

	void insertArticleReply(ArticleReply ArticleReply) throws DAOException;

	void updateArticleReply(ArticleReply ArticleReply) throws DAOException;

	void deleteArticleReplyById(Long id) throws DAOException;
}
